gtk4.git
5 years agogtk-demo: Don't refer to removed demos
Matthias Clasen [Sun, 13 Sep 2020 03:56:15 +0000 (23:56 -0400)]
gtk-demo: Don't refer to removed demos

The animated background demos was referring to the
pixbuf demo that was removed a while ago. Reword
the text accordingly.

5 years agoUpdate Turkish translation
Emin Tufan Çetin [Sat, 12 Sep 2020 17:11:40 +0000 (17:11 +0000)]
Update Turkish translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sat, 12 Sep 2020 16:25:17 +0000 (16:25 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3110 and #2994

See merge request GNOME/gtk!2565

5 years agoClean up lots of GTK+ -> GTK
Matthias Clasen [Sat, 12 Sep 2020 16:01:04 +0000 (12:01 -0400)]
Clean up lots of GTK+ -> GTK

Replace most remaining uses of GTK+ in the docs and
user-visible strings by GTK. Also remove some leftover
"Was added in 3.x" sentences from the docs.

5 years agoAUTHORS: some updates
Matthias Clasen [Sat, 12 Sep 2020 15:52:14 +0000 (11:52 -0400)]
AUTHORS: some updates

5 years agotext: Claim the sequence when we start selecting
Matthias Clasen [Sat, 12 Sep 2020 15:18:36 +0000 (11:18 -0400)]
text: Claim the sequence when we start selecting

Without this, drag-select will only work sporadically
in entries in headerbars.

Fixes: #2994
5 years agoCosmetics
Matthias Clasen [Sat, 12 Sep 2020 15:11:28 +0000 (11:11 -0400)]
Cosmetics

Add a missing comma.

5 years agoAdd a testcase for controls in headerbars
Matthias Clasen [Sat, 12 Sep 2020 14:58:07 +0000 (10:58 -0400)]
Add a testcase for controls in headerbars

This is meant to help with figuring out entry
selection drag issues.

5 years agofilechooser: Prevent a crash
Matthias Clasen [Sat, 12 Sep 2020 14:40:13 +0000 (10:40 -0400)]
filechooser: Prevent a crash

With csd, we are handling external widgets when
there is an entry in the headerbar. Use a weak ref
to prevent that pointer from going stale. This fixes
a crash when cancelling a save dialog.

Fixes: #3110
5 years agoMerge branch 'ebassi/for-master' into 'master'
Emmanuele Bassi [Sat, 12 Sep 2020 14:24:13 +0000 (14:24 +0000)]
Merge branch 'ebassi/for-master' into 'master'

Properly annotate GtkLayoutManagerClass.create_layout_child()

Closes #3156

See merge request GNOME/gtk!2564

5 years agoProperly annotate GtkLayoutManagerClass.create_layout_child()
Emmanuele Bassi [Sat, 12 Sep 2020 13:31:52 +0000 (14:31 +0100)]
Properly annotate GtkLayoutManagerClass.create_layout_child()

We're missing the ownership transfer rule for the created GtkLayoutChild
instance; this makes the virtual function not introspectable.

Fixes: #3156
5 years agoUpdate Turkish translation
Emin Tufan Çetin [Sat, 12 Sep 2020 06:14:30 +0000 (06:14 +0000)]
Update Turkish translation

5 years agoMerge branch 'emblem-demo' into 'master'
Matthias Clasen [Sat, 12 Sep 2020 01:33:51 +0000 (01:33 +0000)]
Merge branch 'emblem-demo' into 'master'

Emblem demo

See merge request GNOME/gtk!2563

5 years agogtk-demo: Add an emblem demo
Matthias Clasen [Sat, 12 Sep 2020 01:09:41 +0000 (21:09 -0400)]
gtk-demo: Add an emblem demo

Add a simple demo for adding emblems to icons
using GdkPaintable.

5 years agogtk-demo: Tweak the animated paintable
Matthias Clasen [Sat, 12 Sep 2020 01:08:36 +0000 (21:08 -0400)]
gtk-demo: Tweak the animated paintable

Make it possible to have no background in
the animated paintable. This will be used
in a future demo.

Update all users.

5 years agogtk-demo: Fix a few crash
Matthias Clasen [Sat, 12 Sep 2020 01:05:09 +0000 (21:05 -0400)]
gtk-demo: Fix a few crash

The paintable demos were forgetting to clear
their window variable.

5 years agoMerge branch 'text-layout-speedup' into 'master'
Matthias Clasen [Fri, 11 Sep 2020 21:20:38 +0000 (21:20 +0000)]
Merge branch 'text-layout-speedup' into 'master'

textlayout: Avoid some iter comparisons

See merge request GNOME/gtk!2561

5 years agotextlayout: Avoid some iter comparisons
Matthias Clasen [Fri, 11 Sep 2020 19:35:44 +0000 (15:35 -0400)]
textlayout: Avoid some iter comparisons

We were doing more iter comparisons than necessary in the
inner loop of gtk_text_layout_snapshot(), in the presence
of a selection. Rewrite the code to compare line numbers
instead, which is faster than full iter comparisons.

5 years agoMerge branch 'wip/otte/for-master' into 'master'
Matthias Clasen [Fri, 11 Sep 2020 15:50:23 +0000 (15:50 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

contentserializer: Don't send the terminating \0 byte for strings

Closes #3150

See merge request GNOME/gtk!2560

5 years agocontentserializer: Don't send the terminating \0 byte for strings
Benjamin Otte [Fri, 11 Sep 2020 15:25:02 +0000 (17:25 +0200)]
contentserializer: Don't send the terminating \0 byte for strings

Fixes #3150

5 years agoMerge branch 'wip/jimmac/new-colors' into 'master'
Matthias Clasen [Fri, 11 Sep 2020 13:56:48 +0000 (13:56 +0000)]
Merge branch 'wip/jimmac/new-colors' into 'master'

Wip/jimmac/new colors

Closes #3146

See merge request GNOME/gtk!2558

5 years agocolorchooser: Don't parse color names needlessly
Matthias Clasen [Fri, 11 Sep 2020 13:31:17 +0000 (09:31 -0400)]
colorchooser: Don't parse color names needlessly

We have a fancy macro to initialize GdkRGBAs without
any runtime work, lets use them.

5 years agocolorchooser: Drop color names
Matthias Clasen [Fri, 11 Sep 2020 13:12:34 +0000 (09:12 -0400)]
colorchooser: Drop color names

These were not used anymore, after a11y stopped using them.

5 years agocolor chooser: Don't show too many custom colors
Matthias Clasen [Fri, 11 Sep 2020 12:42:03 +0000 (08:42 -0400)]
color chooser: Don't show too many custom colors

The code was hardcoding a fixed number of custom
colors, but we really want to match the number
of columns in the palette(s). Make it so.

5 years agocolorChooser: updte color palette
Jakub Steiner [Fri, 11 Sep 2020 08:38:47 +0000 (10:38 +0200)]
colorChooser: updte color palette

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3146

5 years agoUpdated Danish translation of gtk-properties
Ask Hjorth Larsen [Fri, 11 Sep 2020 00:31:50 +0000 (02:31 +0200)]
Updated Danish translation of gtk-properties

5 years agoUpdated Danish translation of gtk
Ask Hjorth Larsen [Fri, 11 Sep 2020 00:31:41 +0000 (02:31 +0200)]
Updated Danish translation of gtk

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 21:56:46 +0000 (21:56 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

x11: Print all tested glx extensions

See merge request GNOME/gtk!2556

5 years agox11: Print all tested glx extensions
Matthias Clasen [Thu, 10 Sep 2020 21:30:28 +0000 (17:30 -0400)]
x11: Print all tested glx extensions

When initializing a glx context, print all the extensions
we look for.

5 years agoMerge branch 'gdk-cleanups' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 20:21:12 +0000 (20:21 +0000)]
Merge branch 'gdk-cleanups' into 'master'

Gdk cleanups

Closes #2790

See merge request GNOME/gtk!2553

5 years agoUpdate Slovenian translation
Matej Urbančič [Thu, 10 Sep 2020 20:12:10 +0000 (20:12 +0000)]
Update Slovenian translation

5 years agoUpdate Slovenian translation
Matej Urbančič [Thu, 10 Sep 2020 20:09:27 +0000 (20:09 +0000)]
Update Slovenian translation

5 years agoMerge branch 'fix-vulkan-context-creation' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 18:18:55 +0000 (18:18 +0000)]
Merge branch 'fix-vulkan-context-creation' into 'master'

Fix vulkan context creation

Closes #3147

See merge request GNOME/gtk!2555

5 years agogdk: Don't create surfaces of size 0x0
Matthias Clasen [Thu, 10 Sep 2020 17:56:44 +0000 (13:56 -0400)]
gdk: Don't create surfaces of size 0x0

Don't pass 0x0 as size when calling gdk_surface_new().
The Wayland backend takes us literally, and we end
up with a surface that (temporarily) has these
dimensions, confusing other APIs that we pass the
size to, such as Vulkan.

5 years agovulkan: Fix swapchain creation
Matthias Clasen [Thu, 10 Sep 2020 17:55:16 +0000 (13:55 -0400)]
vulkan: Fix swapchain creation

We end up with a surface that has size 0x0 at the
time we create the Vulkan context, and that is a
size that Vulkan doesn't like, so ensure we request
at least 1x1.

Fixes: #3147
5 years agoMerge branch 'ebassi/for-master' into 'master'
Matthias Clasen [Thu, 10 Sep 2020 17:39:25 +0000 (17:39 +0000)]
Merge branch 'ebassi/for-master' into 'master'

docs: Add note on command line arguments

See merge request GNOME/gtk!2554

5 years agodocs: Add note on command line arguments
Emmanuele Bassi [Thu, 10 Sep 2020 16:53:50 +0000 (17:53 +0100)]
docs: Add note on command line arguments

We don't parse them any more, and developers should stop using them when
migrating from GTK3 to GTK4.

5 years agoUpdate Italian translation
Milo Casagrande [Thu, 10 Sep 2020 08:03:38 +0000 (08:03 +0000)]
Update Italian translation

5 years agogdk: Move GdkSurfaceEdge to the right header
Matthias Clasen [Thu, 10 Sep 2020 04:44:05 +0000 (00:44 -0400)]
gdk: Move GdkSurfaceEdge to the right header

This is only used in gdktoplevel.h, so move it there.

5 years agogdk: Rename GdkSurfaceState to GdkToplevelState
Matthias Clasen [Thu, 10 Sep 2020 04:39:03 +0000 (00:39 -0400)]
gdk: Rename GdkSurfaceState to GdkToplevelState

That is what it is.

Fixes: #2790
5 years agogdk: Move GdkSurfaceState to the right header
Matthias Clasen [Thu, 10 Sep 2020 04:25:51 +0000 (00:25 -0400)]
gdk: Move GdkSurfaceState to the right header

This is really a toplevel state, so move it
to that header.

5 years agoMove GdkFullscreenMode to the right header
Matthias Clasen [Thu, 10 Sep 2020 04:22:01 +0000 (00:22 -0400)]
Move GdkFullscreenMode to the right header

This enum is just used for a GdkToplevel property now,
so move the declaration to the gdktoplevel.h header.

5 years agoNEWS: Updates
Matthias Clasen [Thu, 10 Sep 2020 03:49:58 +0000 (23:49 -0400)]
NEWS: Updates

5 years agosearch entry: Don't propagate handled events
Matthias Clasen [Thu, 10 Sep 2020 02:26:27 +0000 (22:26 -0400)]
search entry: Don't propagate handled events

When the text says it has handled the event,
trust it. We don't want to emit ::search-started
if the content hasn't changed, but we still
should not propagate e.g. an Insert key press
if it has already toggled overwrite mode in
the text.

Fixes: #2874
5 years agoMerge branch 'fix-gl-texture-cache' into 'master'
Matthias Clasen [Wed, 9 Sep 2020 19:27:24 +0000 (19:27 +0000)]
Merge branch 'fix-gl-texture-cache' into 'master'

gsk: Fix the gl texture cache

See merge request GNOME/gtk!2552

5 years agogsk: Fix the gl texture cache
Matthias Clasen [Wed, 9 Sep 2020 17:55:09 +0000 (13:55 -0400)]
gsk: Fix the gl texture cache

We need to include both the scale and the filtering
in the key for the texture cache, since those affect
the texture.

This fixes misrendering in the recorder in the inspector
whenever transforms are involved. An example where this
was showing up is testrevealer's swing transition.

5 years agoUpdate German translation
Tim Sabsch [Wed, 9 Sep 2020 17:23:14 +0000 (17:23 +0000)]
Update German translation

5 years agoMerge branch 'wip/otte/for-master' into 'master'
Benjamin Otte [Wed, 9 Sep 2020 16:44:29 +0000 (16:44 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

Wip/otte/for master

Closes #3137

See merge request GNOME/gtk!2550

5 years agorevealer: Remove arbitrary 100x scale limit
Benjamin Otte [Wed, 9 Sep 2020 15:34:35 +0000 (17:34 +0200)]
revealer: Remove arbitrary 100x scale limit

This is no longer necessary because the bug it was rying to solve is now
solved via the preference for min and nat size.

5 years agorevealer: Prefer min and nat size
Benjamin Otte [Wed, 9 Sep 2020 13:53:09 +0000 (15:53 +0200)]
revealer: Prefer min and nat size

Assume that the fully expanded revealer will likely get an allocation
that matches the child's minimum or natural allocation, so we
special-case these two values.

So when - due to the precision loss - multiple sizes would match the
current allocation, we don't pick one at random, we prefer the min and
nat size.

The preference of nat size over min sie was decided after an IRC vote,
we don't actually have an idea what's more likely to happen in the real
world.
Should we ever get better data, we might want to switch.

5 years agorevealer: Use floor(), not ceil()
Benjamin Otte [Wed, 9 Sep 2020 13:56:10 +0000 (15:56 +0200)]
revealer: Use floor(), not ceil()

We use ceil() in measure(), so using it again will increase the
child's size whenever there is even a tiny rounding error.

This should also not make the size too small, because:
min = ceil(child_min * scale)
min / scale >= child_min
floor (min / scale) >= floor (child_min) = child_min
The last equality is because child_min is an integer.

Fixes #3137

5 years agorevealer: Refactor code
Benjamin Otte [Wed, 9 Sep 2020 13:09:13 +0000 (15:09 +0200)]
revealer: Refactor code

Assign the values in the same place.

5 years agowidget: Add a critical when allocation is too small.
Benjamin Otte [Wed, 9 Sep 2020 15:07:01 +0000 (17:07 +0200)]
widget: Add a critical when allocation is too small.

5 years agoMerge branch 'issue-3140' into 'master'
Emmanuele Bassi [Wed, 9 Sep 2020 10:54:07 +0000 (10:54 +0000)]
Merge branch 'issue-3140' into 'master'

Make sure we don't call back into GtkEntryBuffer

Closes #3140

See merge request GNOME/gtk!2549

5 years agoMake sure we don't call back into GtkEntryBuffer
Emmanuele Bassi [Wed, 9 Sep 2020 10:29:16 +0000 (11:29 +0100)]
Make sure we don't call back into GtkEntryBuffer

After commit 7e77afe94c14365d538c958d23c1e3e074530415 moved the deletion
of text into the signal handler, in order to make undo work, we need to
override the GtkEntryBuffer::deleted-text class closure when subclassing
GtkEntryBuffer, as well as overriding GtkEntryBufferClass.delete_text,
otherwise the default class closure will be invoked, and will try to
delete an empty buffer.

Fixes: #3140
5 years agoMerge branch 'gtksecurememory-win32' into 'master'
Emmanuele Bassi [Wed, 9 Sep 2020 10:12:44 +0000 (10:12 +0000)]
Merge branch 'gtksecurememory-win32' into 'master'

Port gtksecurememory.c to Windows

See merge request GNOME/gtk!2548

5 years agogtksecurememory.c: Port secure memory allocation to Windows
Chun-wei Fan [Wed, 9 Sep 2020 03:37:33 +0000 (11:37 +0800)]
gtksecurememory.c: Port secure memory allocation to Windows

Use the Windows API CryptProtectMemory() to encrypt the data that we want to
secure, and use CryptUnprotectMemory() to de-crypt the secured data that we
want to access, since mmap() and mlock() are not available on Windows.

5 years agogtksecurememory.c: Don't include unistd.h unconditionally
Chun-wei Fan [Wed, 9 Sep 2020 01:39:58 +0000 (09:39 +0800)]
gtksecurememory.c: Don't include unistd.h unconditionally

It is not universally available on non-POSIX systems.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 9 Sep 2020 00:40:54 +0000 (00:40 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

shadertoy demo: Cosmetic fixes

See merge request GNOME/gtk!2547

5 years agoshadertoy demo: Cosmetic fixes
Matthias Clasen [Wed, 9 Sep 2020 00:08:23 +0000 (20:08 -0400)]
shadertoy demo: Cosmetic fixes

5 years agoMerge branch 'ebassi/secure-buffer' into 'master'
Matthias Clasen [Tue, 8 Sep 2020 23:48:25 +0000 (23:48 +0000)]
Merge branch 'ebassi/secure-buffer' into 'master'

Add secure entry buffer

Closes #3119 and #2403

See merge request GNOME/gtk!2545

5 years agoMerge branch 'shadertoy-demo' into 'master'
Matthias Clasen [Tue, 8 Sep 2020 23:47:54 +0000 (23:47 +0000)]
Merge branch 'shadertoy-demo' into 'master'

gtk-demo: Add shadertoy demo

See merge request GNOME/gtk!2540

5 years agodocs: Add a note on GtkPasswordEntry's secure storage
Emmanuele Bassi [Tue, 8 Sep 2020 22:40:44 +0000 (23:40 +0100)]
docs: Add a note on GtkPasswordEntry's secure storage

5 years agoUse GtkPasswordEntryBuffer in GtkPasswordEntry
Emmanuele Bassi [Fri, 4 Sep 2020 11:52:03 +0000 (12:52 +0100)]
Use GtkPasswordEntryBuffer in GtkPasswordEntry

Now that we have a secure buffer, we should start using it.

Fixed: #3119

5 years agoAdd a secure GtkEntryBuffer
Emmanuele Bassi [Fri, 4 Sep 2020 11:51:58 +0000 (12:51 +0100)]
Add a secure GtkEntryBuffer

We have a widget for password and passphrase entries, but we have no way
to handle the data securely. This is usually performed by a separate
GtkEntryBuffer—for instance, the one in GCR. While we have API for
setting a new entry buffer on GtkText, we don't have API for
GtkPasswordEntry, though, so the options are:

 - expose additional API for GtkPasswordEntry to allow setting a secure
   text buffer on the internal GtkText widget
 - provide a secure text buffer out of the box

Given that an insecure-by-default GtkPasswordEntry is basically
pointless, might as well have a secure buffer built in.

We don't really need to make the password entry buffer public out of the
box, but we can re-evaluate at a later date.

Fixes: #2403
5 years agoMove g_autoptr macro for GtkEntryBuffer
Emmanuele Bassi [Tue, 8 Sep 2020 16:49:34 +0000 (17:49 +0100)]
Move g_autoptr macro for GtkEntryBuffer

We need it into its own header, so we can derive from GtkEntryBuffer
with G_DECLARE_* macros without including gtk.h.

5 years agoCheck for mlock()
Emmanuele Bassi [Tue, 8 Sep 2020 16:50:39 +0000 (17:50 +0100)]
Check for mlock()

We use it in the secure memory allocator, if it's available.

5 years agoImport egg-secure-memory allocator from gcr
Emmanuele Bassi [Tue, 8 Sep 2020 16:40:32 +0000 (17:40 +0100)]
Import egg-secure-memory allocator from gcr

We can re-use the code inside gcr, as we know that it's working, tested,
and license compatible.

5 years agoMerge branch 'sorter-constructor-fix-warning' into 'master'
Emmanuele Bassi [Tue, 8 Sep 2020 17:54:25 +0000 (17:54 +0000)]
Merge branch 'sorter-constructor-fix-warning' into 'master'

Fix warning in listview_settings demo

See merge request GNOME/gtk!2544

5 years agoFix warning in listview_settings demo
Andreas Persson [Tue, 8 Sep 2020 16:48:54 +0000 (18:48 +0200)]
Fix warning in listview_settings demo

Fix a warning introduced when sorter constructors were changed to return
exact types.

5 years agoUpdated Danish translation of gtk-properties
Ask Hjorth Larsen [Tue, 8 Sep 2020 14:23:16 +0000 (16:23 +0200)]
Updated Danish translation of gtk-properties

5 years agoUpdated Danish translation of gtk
Ask Hjorth Larsen [Tue, 8 Sep 2020 14:23:05 +0000 (16:23 +0200)]
Updated Danish translation of gtk

5 years agoUpdated Czech translation
Marek Černocký [Tue, 8 Sep 2020 13:33:40 +0000 (15:33 +0200)]
Updated Czech translation

5 years agoMerge branch 'filter-constructors' into 'master'
Matthias Clasen [Tue, 8 Sep 2020 12:58:27 +0000 (12:58 +0000)]
Merge branch 'filter-constructors' into 'master'

Filter constructors

See merge request GNOME/gtk!2360

5 years agoUpdate Persian translation
Danial Behzadi [Tue, 8 Sep 2020 12:50:36 +0000 (12:50 +0000)]
Update Persian translation

5 years agoUpdate French translation
Alexandre Franke [Tue, 8 Sep 2020 09:15:19 +0000 (09:15 +0000)]
Update French translation

5 years agogtk-demo: Add shadertoy demo
Alexander Larsson [Mon, 7 Sep 2020 13:32:22 +0000 (15:32 +0200)]
gtk-demo: Add shadertoy demo

This adds a small demo of using OpenGL shaders, it renders a quad
over the entire widget with a custom fragment shader. The coordinates
and the uniform names are compatible with the ones on shadertoy.com
(although some features, like texture inputs are missing currently).

The default shader in the demo is
https://www.shadertoy.com/view/wsjBD3 which is CC0, so it is
redistributable by Gtk+ (most other shaders are CC-BY-NC-SA which
isn't obviously compatible). I also added a set of buttons loading
a few other CC0 shaders I found.

5 years agoMerge branch 'gl-linear' into 'master'
Matthias Clasen [Mon, 7 Sep 2020 21:27:09 +0000 (21:27 +0000)]
Merge branch 'gl-linear' into 'master'

Gl: use linear interpolation

See merge request GNOME/gtk!2523

5 years agoAdd some tests for the axis-aligned check
Matthias Clasen [Mon, 7 Sep 2020 18:20:38 +0000 (14:20 -0400)]
Add some tests for the axis-aligned check

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 7 Sep 2020 17:03:27 +0000 (17:03 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2541

5 years agogsk: Complain if we fail to realize a renderer
Matthias Clasen [Mon, 7 Sep 2020 15:17:24 +0000 (11:17 -0400)]
gsk: Complain if we fail to realize a renderer

The only likely place where this is going to happen
is if a renderer was explicitly requested with the
GSK_RENDERER environment variable, and in that case,
it is misleading to silently use a different renderer.

5 years agogsk: Mention gl as valid value for GSK_RENDERER
Matthias Clasen [Mon, 7 Sep 2020 15:16:52 +0000 (11:16 -0400)]
gsk: Mention gl as valid value for GSK_RENDERER

5 years agotext: Set the hotspot for the drag icon
Matthias Clasen [Mon, 7 Sep 2020 00:46:42 +0000 (20:46 -0400)]
text: Set the hotspot for the drag icon

This makes the drag icon align properly with the
dragged text at the beginning of the drag.

5 years agoUpdated Czech translation
Marek Černocký [Mon, 7 Sep 2020 12:34:07 +0000 (14:34 +0200)]
Updated Czech translation

5 years agoUpdate Catalan translation
Gil Forcada [Mon, 7 Sep 2020 10:31:39 +0000 (10:31 +0000)]
Update Catalan translation

5 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 7 Sep 2020 06:59:50 +0000 (08:59 +0200)]
Updated Spanish translation

5 years agoUpdate Galician translation
Fran Dieguez [Sun, 6 Sep 2020 23:22:39 +0000 (23:22 +0000)]
Update Galician translation

5 years agoUpdate Galician translation
Fran Dieguez [Sun, 6 Sep 2020 23:20:08 +0000 (23:20 +0000)]
Update Galician translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 6 Sep 2020 21:39:08 +0000 (21:39 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3123

See merge request GNOME/gtk!2539

5 years agoaboutdialog: Disable text undo
Matthias Clasen [Sun, 6 Sep 2020 21:00:43 +0000 (17:00 -0400)]
aboutdialog: Disable text undo

The text buffers here are not editable, so it
does not make sense to have text undo enabled
for them.

Fixes: #3123
5 years agotext history: Update state when enabled changes
Matthias Clasen [Sun, 6 Sep 2020 20:59:56 +0000 (16:59 -0400)]
text history: Update state when enabled changes

This makes can-undo go FALSE when we disable the
text history, as it should.

5 years agoUpdate Hungarian translation
Balázs Úr [Sun, 6 Sep 2020 20:31:44 +0000 (20:31 +0000)]
Update Hungarian translation

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 6 Sep 2020 19:38:56 +0000 (19:38 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2538

5 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 6 Sep 2020 17:36:39 +0000 (17:36 +0000)]
Update Kazakh translation

5 years agotext: Stop drag updates when a dnd starts
Matthias Clasen [Sun, 6 Sep 2020 16:19:44 +0000 (12:19 -0400)]
text: Stop drag updates when a dnd starts

This prevents the selection from changing underneath
us, messing up move dnd operations.

5 years agoMerge branch 'listwidgets-doc-fix' into 'master'
Matthias Clasen [Sun, 6 Sep 2020 15:53:59 +0000 (15:53 +0000)]
Merge branch 'listwidgets-doc-fix' into 'master'

docs: Update list widgets docs

See merge request GNOME/gtk!2537

5 years agotextview: Fix dnd
Matthias Clasen [Sun, 6 Sep 2020 15:48:10 +0000 (11:48 -0400)]
textview: Fix dnd

When we start a dnd of the selection in the drag-update handler,
set the gesture state to denied. Otherwise, we get more drag-update
signals, and things get really confused, leading to no dnd and
sadness.

5 years agodocs: Update list widgets docs
Andreas Persson [Sun, 6 Sep 2020 15:19:24 +0000 (17:19 +0200)]
docs: Update list widgets docs

Removed sentence that claimed the view will wrap the model in a
GtkSingleSelection, as it's no longer true. Fixed the code example in
GtkListView for the same reason. Fixed a small typo in GtkDropDown docs.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 6 Sep 2020 13:25:43 +0000 (13:25 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2535

5 years agoUpdate French translation
Alexandre Franke [Sun, 6 Sep 2020 12:44:35 +0000 (12:44 +0000)]
Update French translation